<?php //ver.2008




// TESTO
$ext2mime["xml"]="text/xml";
$ext2mime["kml"]="text/xml";
$ext2mime["html"]="text/html";
$ext2mime["htm"]="text/html";
$ext2mime["css"]="text/css";
$ext2mime["txt"]="text/plain";
$ext2mime["php"]="text/plain";
$ext2mime["asp"]="text/plain";
$ext2mime["aspx"]="text/plain";
$ext2mime["sh"]="application/x-shellscript";
$ext2mime["nawk"]="application/x-nawk";
$ext2mime["gawk"]="application/x-gawk";
$ext2mime["awk"]="application/x-awk";
$ext2mime["perl"]="application/x-perl";
$ext2mime["pl"]="application/x-perl";
$ext2mime["csv"]="application/excel";

// BINARI
$ext2mime["gz"]="application/x-gzip";
$ext2mime["zip"]="application/x-zip";
$ext2mime["rar"]="application/x-rar";
$ext2mime["tar"]="application/x-tar";
$ext2mime["ps"]="application/postscript";
$ext2mime["pdf"]="application/pdf";
$ext2mime["dvi"]="application/x-dvi";
$ext2mime["mdb"]="application/msaccess";
$ext2mime["xls"]="application/excel";
$ext2mime["doc"]="application/msword";
$ext2mime["pps"]="application/powerpoint";
$ext2mime["ppt"]="application/powerpoint";
$ext2mime["swf"]="application/x-shockwave-flash";
$ext2mime["iso"]="application/octet-stream";

// IMMAGINE
$ext2mime["cdra"]="image/x-coreldraw";
$ext2mime["tif"]="image/tiff";
$ext2mime["gif"]="image/gif";
$ext2mime["jpg"]="image/jpeg";
$ext2mime["jpeg"]="image/jpeg";
$ext2mime["png"]="image/png";
$ext2mime["ico"]="image/x-ico";
$ext2mime["bmp"]="image/x-ms-bmp";

// AUDIO
$ext2mime["aiff"]="audio/x-aiff";    
$ext2mime["aifc"]="audio/x-aiff";
$ext2mime["wav"]="audio/x-wav";
$ext2mime["ogg"]="application/ogg";
$ext2mime["m4a"]="audio/mp4";

// VIDEO
$ext2mime["rmf"]="application/vnd.rn-realmedia";
$ext2mime["avi"]="video/x-msvideo";
$ext2mime["mov"]="video/quicktime";
$ext2mime["3gp"]="video/3gpp";
$ext2mime["mp4"]="video/mp4";
$ext2mime["qt"]="video/quicktime";


?>
